rolesystem.core
Class RoleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by rolesystem.core.RoleException
All Implemented Interfaces:
java.io.Serializable

public class RoleException
extends java.lang.Exception

Exceptions of this class are thrown by methods of rolesystem.

See Also:
Serialized Form

Field Summary
static java.lang.String DISMISSED
          This message means that the utilized registration has been dismissed.
static java.lang.String NOT_ALLOWED
          This message means that the requested action is not allowed.
static java.lang.String NOT_SUPPORTED
          This message means that the specified role is not supported.
static java.lang.String NOT_VALID_ADD
          This message means that the specified addressee is not valid.
static java.lang.String TOO_MANY
          This message means that it is not possible to make the requested registration, because too many registrations have been made.
 
Constructor Summary
RoleException()
           
RoleException(java.lang.String msg)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NOT_SUPPORTED

public static final java.lang.String NOT_SUPPORTED
This message means that the specified role is not supported.

See Also:
Constant Field Values

NOT_VALID_ADD

public static final java.lang.String NOT_VALID_ADD
This message means that the specified addressee is not valid.

See Also:
Constant Field Values

TOO_MANY

public static final java.lang.String TOO_MANY
This message means that it is not possible to make the requested registration, because too many registrations have been made.

See Also:
Constant Field Values

DISMISSED

public static final java.lang.String DISMISSED
This message means that the utilized registration has been dismissed.

See Also:
Constant Field Values

NOT_ALLOWED

public static final java.lang.String NOT_ALLOWED
This message means that the requested action is not allowed.

See Also:
Constant Field Values
Constructor Detail

RoleException

public RoleException()

RoleException

public RoleException(java.lang.String msg)
Parameters:
msg - Exception message. It can be choosen from messages defined in this class.